package inner_class_d6;

public class Outer {
    //成员内部类
    public class Inner{
        public static String schollname;//JDK 16开始才支持定义静态成员的
        //默认内部类
        public Inner() {

        }

        public static String getSchollname() {
            return schollname;
        }

        public static void setSchollname(String schollname) {
            Inner.schollname = schollname;
        }
    }
    //静态内部类
    public static class Inner2{

    }
}
